<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.11.0.min.js"></script>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<title>登录</title>

<style type="text/css">
body  div{

float: left;
/* border:1px solid red; */
}
.opacity{margin-left: 420px;margin-top: 30px;
}
.loginzon{width:400px;height:300px;margin-left: 50px;padding-top: 40px;
background-color:white;
margin-top: 40px;
}
.lable{text-align: center;
}
.userID{text-align: left;
}
.userPassword{text-align: left;
}
.heng{width:100%; margin-top: 23px;margin-left: 20px;
}
input {
	font-size: 20px;
	border:1px solid green;
}
</style>
</head >


<!-- 判断是否注册成功 -->
<script type="text/javascript">
	$(function(){
		if("${hasregister}"=="1"){
			alert("注册成功");
		}
	})
</script>


<body style=" width:100%;height:630px; ">


<div class = "toptop" style = "margin-bottom:0px;width:80%;margin-left:125px;height:50px;border-bottom:1px solid green;color:green;">
	<div class = "word8" style = "font-size: 25px;font-weight: bold;"> 
		❀花卉交流平台&nbsp&nbsp&nbsp<span style="font-weight: normal;">|</span>&nbsp&nbsp&nbsp登录
	</div>
</div>


<div class="opacity" style="width:500px;height:420px; background-color:#defae5;background:rgba(,,,0.5) ;">

<!-- 	非透明登录总框 -->
<div class = "loginzon">
	<div class = "logininner">
		<div class =  "label" style="width:100%;font-size:30px;text-align: center;font-weight: bold;color:green;">
			 用户登录
		</div>
		<form action="${pageContext.request.contextPath }/LoginServlet" method="post" >
			
			<div class="heng">
			<div class = "label" style = "width:20%;font-size: 20px;color:green;font-weight: bold;">
				账号:
			</div>
			<input type = "text" class= "userID" placeholder = "请输入账号" style = "width:200px;height:30px;font-size: 12px;" name = "userID">
			</div>
			
			<div class="heng">
			<div class = "label" style = "width:20%;font-size: 20px;color:green;font-weight: bold;" >
				密码:
			</div>
			<input type = "password"  placeholder = "请输入密码"  class="userPassword" style = "font-size: 12px;width:200px;height:30px;" name = "userPassword">
			</div>
			
			<div class="heng" style = "width:100%;"> 
			<div >
				<input style = "width:200px;height:35px;margin-left: 80px;background-color: green;border-radius:3px;color:white;" type = "submit" value = "登录">
			</div>
				<div >
				 	<a href="${pageContext.request.contextPath}/register.jsp" style = "display:block; font-size:10px;margin: 20px;margin-left:170px;">
					没有账号，点击注册
					</a>
				</div>
			</div>
			
		</form>
	</div>
</div>



</div>


</body>
</html>